using System;

namespace ScrobbleItSL.LastFmApi
{
    public class LastFmErrorEventArgs : EventArgs
    {
        private readonly int code;
        private readonly string message;

        public int Code
        {
            get { return code; }
        }

        public string Message
        {
            get { return message; }
        }

        public LastFmErrorEventArgs(int code, string message)
        {
            this.code = code;
            this.message = message;
        }
    }
}